home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / networking / misc / wu-ftpd-37.14.lha / wu-ftpd / src / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-20  |  1.5 KB  |  91 lines

  1. #define HAVE_SYMLINK
  2. #undef  BSD
  3. #define HAVE_DIRENT
  4. #define HAVE_D_NAMLEN
  5. #undef  HAVE_FLOCK
  6. #undef  HAVE_FTW
  7. #define HAVE_GETCWD
  8. #define HAVE_GETDTABLESIZE
  9. #undef  HAVE_PSTAT
  10. #undef  HAVE_ST_BLKSIZE
  11. #undef  HAVE_SYSINFO
  12. #undef  HAVE_UT_UT_HOST
  13. #define HAVE_VPRINTF
  14. #define OVERWRITE
  15. #undef  SETPROCTITLE
  16. #undef  SHADOW_PASSWORD
  17. #define UPLOAD
  18. #undef  USG
  19. #define NO_MALLOC_PROTO
  20.  
  21. #define MAXPATHLEN 256
  22. #define L_SET 0
  23. #define L_INCR 1
  24. #define NGROUPS_MAX 16
  25. #define NCARGS 20480
  26.  
  27. #include <stdlib.h>
  28. #include <unistd.h>
  29.  
  30. #define alloca malloc
  31. #define strcasecmp stricmp
  32. #define strncasecmp strnicmp
  33. #define strcasestr strstr
  34. #define umask amiga_umask
  35. #define seteuid amiga_seteuid
  36. #define setegid amiga_setegid
  37. #define geteuid amiga_geteuid
  38. #define getpwnam amiga_getpwnam
  39. #define getgrnam amiga_getgrnam
  40.  
  41. #ifndef FACILITY
  42. #define FACILITY LOG_DAEMON
  43. #endif
  44.  
  45. typedef void    SIGNAL_TYPE;
  46.  
  47. /*
  48.  * allow "upload" keyword in ftpaccess
  49.  */
  50.  
  51. #define UPLOAD
  52.  
  53. /*
  54.  * allow "overwrite" keyword in ftpaccess.
  55.  */
  56.  
  57. #define OVERWRITE
  58.  
  59. /*
  60.  * allow "allow/deny" for individual users.
  61.  */
  62.  
  63. #define HOST_ACCESS
  64.  
  65. /*
  66.  * log failed login attempts
  67.  */
  68.  
  69. #define LOG_FAILED
  70.  
  71. /*
  72.  * allow use of private file.  (for site group and site gpass)
  73.  */
  74.  
  75. #undef  NO_PRIVATE
  76.  
  77. /*
  78.  * Try once more on failed DNS lookups (to allow far away connections 
  79.  * which might resolve slowly)
  80.  */
  81.  
  82. #define    DNS_TRYAGAIN
  83.  
  84. /*
  85.  * Undefine this if you want a wtmp file like on Unix
  86.  * (not very useful on Amiga, because there is no "last"
  87.  * or "ac" command).
  88.  */
  89.  
  90. #define NO_LOGWTMP
  91.